package com.shop.cereshop.agent.param.user;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class UserAndPrivateDTO {
    @ApiModelProperty(value = "代理商私有信息ID")
    private Long agentPrivateId;

    @ApiModelProperty(value = "用户ID")
    private Long agentUserId;

    @ApiModelProperty(value = "邀请码")
    private String inviteCode;

    @ApiModelProperty(value = "是否加入黑名单 0-否，1-是")
    private Integer ifBlack;

    @ApiModelProperty(value = "逻辑删除 0-未删除，1-已删除")
    private Integer deleted;

    @ApiModelProperty(value = "总消费金额(成为代理商消费的总消费金额)")
    private BigDecimal totalPurchaseAmount;

    @ApiModelProperty(value = "代理区域的adcode")
    private String agentArea;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createdTime;

    @ApiModelProperty(value = "成为代理商所要花费的金额")
    private BigDecimal agentMoney;

    @ApiModelProperty(value = "角色类型：1-代理商，2-业务员")
    private Integer roleType;

    @ApiModelProperty(value = "注册用户IP")
    private String registerIp;

    @ApiModelProperty(value = "最后登录一次IP")
    private String lastLoginIp;

    @ApiModelProperty(value = "是否是正式代理商 0-否，1-是")
    private Integer ifFormal;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "用户密码")
    private String password;

    @ApiModelProperty(value = "代理商是否启用,0否，1是")
    private Integer state;

    @ApiModelProperty(value = "上一次登录角色类型：1-代理商，2-业务员")
     private Integer lastLoginType;

    @ApiModelProperty(value = "支付密码(加密)")
    private Integer payPassword;

    @ApiModelProperty(value = "支付密码错误次数")
    private Integer payPasswordErrorCount;

    @ApiModelProperty(value = "支付密码锁定时间")
    private LocalDateTime payPasswordLockTime;

    @ApiModelProperty(value = "是否设置支付密码 0-否 1-是")
    private Integer isSetPayPassword;
}
